{"key":"models-cheapest","method":"POST","route":"/v1/models/cheapest","price_usd":"0.008","price_sats":10,"request":{"method":"POST","path":"/v1/models/cheapest","body":{"min_context":128000,"tools":true}},"arguments":{"min_context":128000,"tools":true},"response":{"data":{"results":[{"rank":1,"id":"cohere/command-r-08-2024","name":"Command R","blended_usd_per_mtok":0.2625,"input_usd_per_mtok":0.15,"output_usd_per_mtok":0.6,"cache_read_usd_per_mtok":null,"context_tokens":128000,"max_output_tokens":4000,"tool_call":true,"vision":false,"reasoning":false,"deprecated":false,"days_until_deprecation":null,"sources_disagree":[]},{"rank":2,"id":"deepseek/deepseek-flash","name":"DeepSeek V4.1 Flash","blended_usd_per_mtok":0.2625,"input_usd_per_mtok":0.15,"output_usd_per_mtok":0.6,"cache_read_usd_per_mtok":0.003,"context_tokens":1000000,"max_output_tokens":393216,"tool_call":true,"vision":true,"reasoning":true,"deprecated":false,"days_until_deprecation":null,"sources_disagree":[]}],"filter":{"applied":{"min_context":128000,"tools":true,"vision":false,"max_usd_per_mtok":null,"providers":null,"include_deprecated":false,"include_free":false},"considered":36,"matched":24,"returned":10,"excluded":{"provider":0,"not_text":1,"no_price":0,"free":1,"deprecated":10,"context":0,"tools":0,"vision":0,"price":0},"reasons":{"provider":"provider is not in the providers list","not_text":"mode is not text generation (chat, responses, completion)","no_price":"no input or output price in the sources","free":"input and output price are both 0 (free preview or unfilled price; send include_free:true to keep them)","deprecated":"deprecated now (send include_deprecated:true to keep them)","context":"context_tokens unknown or below min_context","tools":"tool calling not confirmed (tools:true)","vision":"image input not confirmed (vision:true)","price":"blended price above max_usd_per_mtok"}},"ranking":"blended_usd_per_mtok = (3 × input + 1 × output) / 4 USD per million tokens (a 3:1 input:output token mix), cheapest first, ties by id; top 10"},"meta":{"dataset":"models","snapshot_id":"models-20261009T060000Z-f99d55c9","as_of":"2026-10-09T06:00:00Z","retrieved_at":"2026-10-09T06:00:00.000Z","source":"https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json","licence":"MIT","attribution":"Pricing data derived from LiteLLM, Copyright (c) 2023 Berri AI, MIT License. Community-maintained; may lag vendor pages. Data from models.dev (https://models.dev), Copyright (c) 2025 models.dev, MIT License.","sha256":"f99d55c9aa420561de698d63d70d9163afe8e0571c9c1fb8d4b5dae33423351a","key_id":"sf-test-1","manifest_url":"/v1/models/manifest","stale":false,"notice":"Normalised (modified) from the source. Provided as is, without warranty. Not endorsed by the source.","sample":true}},"buy":{"method":"POST","url":"https://g5joilnmeep4ntz3nwezxt5dmu.srv.us/v1/models/cheapest","price_usd":"0.008","price_sats":10,"steps":["1. POST the url with no payment header: it returns 402 with the payment offer.","2. Pay the offer (x402, USDC) and sign it.","3. Retry the same request with the X-PAYMENT header: it returns 200 with the live, signed answer."]}}