Models
Get Model Pricing
Changed onGet what one model costs per 1M input and output tokens, including the service fee.
get/v1/models/pricing
Request
- Base URLhttps://api.swarms.world
- URLhttps://api.swarms.world/v1/models/pricing
- Authnone declared. Required headers: x-api-key
Query parameters
model_namestring required
The model to price, e.g. gpt-5.4 or openrouter/moonshotai/kimi-k3.
Headers
x-api-keystring required
Response
Successful Response
Changes
- info
endpoint added
- info