Create Cost Model
Margin Intelligence
Create Cost Model
POST
Create Cost Model
Create a new cost model for margin calculations.
Auth:
sk_ only
Human-readable name for the cost model (e.g. “GPT-4 API Cost”)
Billable metric code this cost model applies to
Cost per unit in cents
AI model identifier (e.g.
gpt-4, claude-sonnet-4-20250514)