{"id":"llm-gpt-4o-mini","name":"GPT-4o Mini","description":"Fast, affordable GPT-4o variant — great for simple tasks and high-volume use","price":"$0.002458","method":"POST","path":"/api/llm/gpt-4o-mini","mimeType":"application/json","category":"compute","upstream":{"provider":"openrouter","baseUrl":"https://openrouter.ai/api/v1"},"parameters":{"body":{"messages":{"required":true,"description":"Text or model-supported multimodal messages; assistant tool calls may have null content","example":[{"role":"user","content":"Hello"}],"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","required":["role"],"anyOf":[{"required":["content"]},{"required":["tool_calls"]}],"properties":{"role":{"type":"string","enum":["system","developer","user","assistant","tool"]},"content":{"oneOf":[{"type":"string"},{"type":"null"},{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["text","image_url","file"]}},"additionalProperties":true}}]},"refusal":{"type":["string","null"]},"cache_control":{"type":"object"},"name":{"type":"string"},"tool_call_id":{"type":"string"},"tool_calls":{"type":"array","items":{"type":"object"}},"reasoning":{"type":"string"},"reasoning_details":{"type":"array","items":{"type":"object"}},"annotations":{"type":"array","items":{"type":"object"}}},"additionalProperties":false}}},"max_tokens":{"type":"integer","description":"Total output budget, including reasoning. Use this or max_completion_tokens.","example":1024},"max_completion_tokens":{"type":"integer","description":"Alias for total output budget; bounded by model maxOutputTokens."},"stream":{"type":"boolean","description":"Return live OpenAI-compatible SSE after payment settlement."},"stream_options":{"type":"object","description":"Optional include_usage boolean; usage is always requested upstream."},"frequency_penalty":{"type":"number","description":"Model-supported frequency_penalty; see /docs/llm-capabilities.md."},"logit_bias":{"type":"object","description":"Model-supported logit_bias; see /docs/llm-capabilities.md."},"logprobs":{"type":"boolean","description":"Model-supported logprobs; see /docs/llm-capabilities.md."},"presence_penalty":{"type":"number","description":"Model-supported presence_penalty; see /docs/llm-capabilities.md."},"response_format":{"type":"object","description":"Model-supported response_format; see /docs/llm-capabilities.md."},"seed":{"type":"integer","description":"Model-supported seed; see /docs/llm-capabilities.md."},"stop":{"type":"array","description":"Model-supported stop; see /docs/llm-capabilities.md.","items":{"type":"string"},"schema":{"oneOf":[{"type":"string"},{"type":"array","maxItems":4,"items":{"type":"string"}}]}},"temperature":{"type":"number","description":"Model-supported temperature; see /docs/llm-capabilities.md."},"tool_choice":{"type":"object","description":"Model-supported tool_choice; see /docs/llm-capabilities.md.","schema":{"oneOf":[{"type":"string","enum":["auto","none","required"]},{"type":"object"}]}},"tools":{"type":"array","description":"Client-executed function definitions; return results using role=tool and tool_call_id.","items":{"type":"object","required":["type","function"],"properties":{"type":{"type":"string","enum":["function"]},"function":{"type":"object","required":["name","parameters"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"parameters":{"type":"object"},"strict":{"type":"boolean"}}}}}},"top_logprobs":{"type":"integer","description":"Model-supported top_logprobs; see /docs/llm-capabilities.md."},"top_p":{"type":"number","description":"Model-supported top_p; see /docs/llm-capabilities.md."},"plugins":{"type":"array","description":"Optional native PDF parser only; automatically enabled for file inputs.","items":{"type":"object","required":["id","pdf"],"properties":{"id":{"type":"string","enum":["file-parser"]},"pdf":{"type":"object","required":["engine"],"properties":{"engine":{"type":"string","enum":["native"]}}}}}}}},"cost":"$0.001720588","model":"openai/gpt-4o-mini","capabilities":{"available":true,"inputModalities":["text","image","file"],"outputModalities":["text"],"streaming":true,"supportedParameters":["frequency_penalty","logit_bias","logprobs","max_completion_tokens","max_tokens","prediction","presence_penalty","response_format","seed","stop","structured_outputs","temperature","tool_choice","tools","top_logprobs","top_p","web_search_options"],"contextWindow":128000,"maxOutputTokens":16384,"reasoning":null},"pricing":{"type":"request_quote","minimumGrossMargin":0.3,"quoteEndpoint":"/api/llm/gpt-4o-mini/quote","settlement":"prepaid","priceDescription":"Starting price for a one-token text request; POST the exact body to the quote endpoint or read PAYMENT-REQUIRED. Media reserves full context. No automatic refunds after settlement.","verifiedAt":"2026-09-05","upstreamRates":{"prompt":"0.00000015","completion":"0.0000006","input_cache_read":"0.000000075"}},"paymentOptions":[{"scheme":"exact","price":"$0.002458","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2458","payTo":"0x7dd5Be069f2d2eAd75eC7C3423B116fF043c2629","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","price":"$0.002458","network":"eip155:4326","asset":"0xFAfDdbb3FC7688494971a79cc65DCa3EF82079E7","amount":"2458000000000000","payTo":"0x7dd5Be069f2d2eAd75eC7C3423B116fF043c2629","maxTimeoutSeconds":300,"extra":{"name":"USDm","version":"2"}},{"scheme":"exact","price":"$0.002458","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","amount":"2458","payTo":"Gzehfseq1k9AcHFSoV7qHmDGQx92nLMw78XXdqVWQQWa","maxTimeoutSeconds":300,"extra":{"feePayer":"GVJJ7rdGiXr5xaYbRwRbjfaJL7fmwRygFi1H6aGqDveb"}}]}