Properties
| Name | Type | Description |
|---|---|---|
| choices | array | Array of completion choices |
| choices[].message | object | The message object |
| choices[].message.role | string | The role of the message (assistant) |
| choices[].message.reasoning_content | string | The internal reasoning produced by the model |
| choices[].message.content | string | The final answer |
| usage | object | Token usage information |
| usage.completion_tokens | integer | Total completion tokens |
| usage.completion_tokens_details | object | Detailed token breakdown |
| usage.completion_tokens_details.reasoning_tokens | integer | Number of tokens used for reasoning |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/cheapestinference-com/json-schema/cheapestinference-com-post-v1-chat-completions-response-schema.json",
"title": "PostV1ChatCompletionsResponse",
"x-generated": "2026-10-30",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_ae-authored/cheapestinference-com-api-openapi-generated.yml#/components/schemas/PostV1ChatCompletionsResponse",
"type": "object",
"properties": {
"choices": {
"type": "array",
"description": "Array of completion choices"
},
"choices[].message": {
"type": "object",
"description": "The message object"
},
"choices[].message.role": {
"type": "string",
"description": "The role of the message (assistant)"
},
"choices[].message.reasoning_content": {
"type": "string",
"description": "The internal reasoning produced by the model"
},
"choices[].message.content": {
"type": "string",
"description": "The final answer"
},
"usage": {
"type": "object",
"description": "Token usage information"
},
"usage.completion_tokens": {
"type": "integer",
"description": "Total completion tokens"
},
"usage.completion_tokens_details": {
"type": "object",
"description": "Detailed token breakdown"
},
"usage.completion_tokens_details.reasoning_tokens": {
"type": "integer",
"description": "Number of tokens used for reasoning"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cheapestinference-com-post-v1-chat-completions-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.