[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"api-page:swift-ai":3},{"status":4,"api":5,"seo":261},"success",{"blocked":6,"description":7,"about":8,"stats":9,"name":11,"title":12,"slug":13,"logo":14,"created_at":15,"agent":16,"user":28,"endpoint_groups":30,"faqs":161,"features":162,"periodic_plans":163,"payasyougo_plans":259,"createdAtText":260},false,"Access a wide range of AI models⚡, including OpenAI 🤖,DeepSeek 🔍, Claude 🧠, Gemini 🌟, and Meta LLaMA 🦙, with seamless compatibility via the Swift API ⚡","## OpenAI\n\n### Chat Models\n\n| Model | Input Cost (per 1M tokens) | Output Cost (per 1M tokens) |\n| --- | --: | --: |\n| gpt-6-astra | $5.00 (50% Discount) | $25.00 (50% Discount) |\n| gpt-5.6-sol | $2.50 (50% Discount) | $15.00 (50% Discount) |\n| gpt-5.6-terra | $1.00 (50% Discount) | $6.00 (50% Discount) |\n| gpt-5.6-luna | $0.10 (50% Discount) | $0.60 (50% Discount) |\n| gpt-5.6 | $1.00 (50% Discount) | $6.00 (50% Discount) |\n| gpt-5.5 | $2.50 (50% Discount) | $15.00 (50% Discount) |\n| gpt-5.4 | $1.25 (50% Discount) | $7.50 (50% Discount) |\n| gpt-5.2 | $0.88 (50% Discount) | $7.00 (50% Discount) |\n| gpt-5.1 | $0.63 (50% Discount) | $5.00 (50% Discount) |\n| gpt-5 | $2.50 (50% Discount) | $15.00 (50% Discount) |\n| gpt-5.4-mini | $0.38 (50% Discount) | $2.25 (50% Discount) |\n| gpt-5-mini | $0.13 (50% Discount) | $1.00 (50% Discount) |\n| gpt-5.4-nano | $0.10 (50% Discount) | $0.63 (50% Discount) |\n| gpt-5-nano | $0.03 (50% Discount) | $0.20 (50% Discount) |\n| gpt-4.1 | $1.00 (50% Discount) | $4.00 (50% Discount) |\n| gpt-4.1-mini | $0.20 (50% Discount) | $0.80 (50% Discount) |\n| gpt-4.1-nano | $0.05 (50% Discount) | $0.20 (50% Discount) |\n| gpt-4o | $1.25 (50% Discount) | $5.00 (50% Discount) |\n| gpt-4o-mini | $0.08 (50% Discount) | $0.30 (50% Discount) |\n| o4-mini | $0.55 (50% Discount) | $2.20 (50% Discount) |\n| o3-mini | $0.55 (50% Discount) | $2.20 (50% Discount) |\n| gpt-3.5-turbo | $0.25 (50% Discount) | $0.75 (50% Discount) |\n\n### Embeddings\n\n| Model | Input Cost (per 1M tokens) | Output Cost (per 1M tokens) |\n| --- | --: | --: |\n| text-embedding-3-small | $0.01 (50% Discount) | $0.00 (50% Discount) |\n| text-embedding-3-large | $0.07 (50% Discount) | $0.00 (50% Discount) |\n| text-embedding-ada-002 | $0.05 (50% Discount) | $0.00 (50% Discount) |\n\n### Moderations\n\n| Model | Input Cost (per 1M tokens) | Output Cost (per 1M tokens) |\n| --- | --: | --: |\n| omni-moderation-latest | $0.05 (50% Discount) | $0.00 (50% Discount) |\n| text-moderation-latest | $0.05 (50% Discount) | $0.00 (50% Discount) |\n\n## Anthropic\n\n### Chat Models\n\n| Model | Input Cost (per 1M tokens) | Output Cost (per 1M tokens) |\n| --- | --: | --: |\n| claude-fable-5-1 | $5.00 (50% Discount) | $25.00 (50% Discount) |\n| claude-fable-5 | $5.00 (50% Discount) | $25.00 (50% Discount) |\n| claude-sonnet-5 | $1.00 (50% Discount) | $5.00 (50% Discount) |\n| claude-sonnet-4-6 | $1.50 (50% Discount) | $7.50 (50% Discount) |\n| claude-sonnet-4-5 | $1.50 (50% Discount) | $7.50 (50% Discount) |\n| claude-sonnet-4 | $1.50 (50% Discount) | $7.50 (50% Discount) |\n| claude-opus-5 | $2.50 (50% Discount) | $12.50 (50% Discount) |\n| claude-opus-4-8 | $2.50 (50% Discount) | $12.50 (50% Discount) |\n| claude-opus-4-7 | $2.50 (50% Discount) | $12.50 (50% Discount) |\n| claude-opus-4-6 | $2.50 (50% Discount) | $12.50 (50% Discount) |\n| claude-opus-4-5 | $2.50 (50% Discount) | $12.50 (50% Discount) |\n| claude-opus-4-1 | $7.50 (50% Discount) | $37.50 (50% Discount) |\n| claude-haiku-4-5 | $0.50 (50% Discount) | $2.50 (50% Discount) |\n\n## Google\n\n### Chat Models\n\n| Model | Input Cost (per 1M tokens) | Output Cost (per 1M tokens) |\n| --- | --: | --: |\n| gemini-3.1-pro | $1.00 (50% Discount) | $6.00 (50% Discount) |\n| gemini-3-pro | $1.00 (50% Discount) | $6.00 (50% Discount) |\n| gemini-2.5-pro | $0.63 (50% Discount) | $5.00 (50% Discount) |\n| gemini-3.8-flash | $0.38 (50% Discount) | $1.88 (50% Discount) |\n| gemini-3.7-flash | $0.38 (50% Discount) | $1.88 (50% Discount) |\n| gemini-3.6-flash | $1.00 (50% Discount) | $6.00 (50% Discount) |\n| gemini-3.5-flash | $0.75 (50% Discount) | $4.50 (50% Discount) |\n| gemini-3-flash | $0.25 (50% Discount) | $1.50 (50% Discount) |\n| gemini-2.5-flash | $0.15 (50% Discount) | $1.25 (50% Discount) |\n| gemini-3.5-flash-lite | $0.15 (50% Discount) | $1.25 (50% Discount) |\n| gemini-2.5-flash-lite | $0.13 (50% Discount) | $0.75 (50% Discount) |\n| gemini-2.0-flash | $0.05 (50% Discount) | $0.20 (50% Discount) |\n| gemini-2.0-flash-lite | $0.04 (50% Discount) | $0.15 (50% Discount) |\n| gemma-3-27b-it | $0.05 (50% Discount) | $0.15 (50% Discount) |\n\n## DeepSeek\n\n### Chat Models\n\n| Model | Input Cost (per 1M tokens) | Output Cost (per 1M tokens) |\n| --- | --: | --: |\n| deepseek-v4-flash-0731 | $0.03 (50% Discount) | $0.05 (50% Discount) |\n| deepseek-v4-flash | $0.03 (50% Discount) | $0.05 (50% Discount) |\n| deepseek-v4-pro-0813 | $0.25 (50% Discount) | $0.50 (50% Discount) |\n| deepseek-v4-pro | $0.25 (50% Discount) | $0.50 (50% Discount) |\n| deepseek-v3.2 | $0.25 (50% Discount) | $0.50 (50% Discount) |\n| deepseek-v3.1 | $0.25 (50% Discount) | $0.50 (50% Discount) |\n| deepseek-v3-0324 | $0.25 (50% Discount) | $0.50 (50% Discount) |\n| deepseek-v3 | $0.25 (50% Discount) | $0.50 (50% Discount) |\n| deepseek-r1-0528 | $0.25 (50% Discount) | $1.00 (50% Discount) |\n| deepseek-r1 | $0.25 (50% Discount) | $1.00 (50% Discount) |\n\n## Meta AI\n\n### Chat Models\n\n| Model | Input Cost (per 1M tokens) | Output Cost (per 1M tokens) |\n| --- | --: | --: |\n| llama-4-scout | $0.05 (50% Discount) | $0.15 (50% Discount) |\n| llama-4-maverick | $0.10 (50% Discount) | $0.40 (50% Discount) |\n| llama-3.3-70b | $0.05 (50% Discount) | $0.40 (50% Discount) |\n| llama-3.2-11b-vision | $0.03 (50% Discount) | $0.03 (50% Discount) |\n| llama-3.2-3b | $0.03 (50% Discount) | $0.15 (50% Discount) |\n| llama-3.2-1b | $0.01 (50% Discount) | $0.10 (50% Discount) |\n| llama-3.1-8b | $0.01 (50% Discount) | $0.03 (50% Discount) |\n\n## xAI\n\n### Chat Models\n\n| Model | Input Cost (per 1M tokens) | Output Cost (per 1M tokens) |\n| --- | --: | --: |\n| grok-4-1-fast | $0.10 (50% Discount) | $0.25 (50% Discount) |\n| grok-4-1-fast-reasoning | $0.10 (50% Discount) | $0.25 (50% Discount) |\n| grok-4-1-fast-non-reasoning | $0.10 (50% Discount) | $0.25 (50% Discount) |\n| grok-4 | $1.50 (50% Discount) | $7.50 (50% Discount) |\n| grok-4-fast-reasoning | $0.10 (50% Discount) | $0.25 (50% Discount) |\n| grok-4-fast-non-reasoning | $0.10 (50% Discount) | $0.25 (50% Discount) |\n| grok-3 | $1.50 (50% Discount) | $7.50 (50% Discount) |\n| grok-3-mini | $0.15 (50% Discount) | $0.25 (50% Discount) |\n| grok-beta | $0.10 (50% Discount) | $0.25 (50% Discount) |\n| grok-vision-beta | $0.10 (50% Discount) | $0.25 (50% Discount) |\n| grok-vision | $0.10 (50% Discount) | $0.25 (50% Discount) |\n\n## Qwen\n\n### Chat Models\n\n| Model | Input Cost (per 1M tokens) | Output Cost (per 1M tokens) |\n| --- | --: | --: |\n| qwen3-max | $0.50 (50% Discount) | $2.50 (50% Discount) |\n| qwen-plus | $0.20 (50% Discount) | $0.50 (50% Discount) |\n| qwen-flash | $0.03 (50% Discount) | $0.20 (50% Discount) |\n| qwen-turbo | $0.03 (50% Discount) | $0.10 (50% Discount) |\n| qwen-vl-max | $0.03 (50% Discount) | $0.10 (50% Discount) |\n| qwen-vl-plus | $0.03 (50% Discount) | $0.10 (50% Discount) |\n| qwen3-vl-flash | $0.03 (50% Discount) | $0.10 (50% Discount) |\n| qwen2.5-7b-instruct | $0.05 (50% Discount) | $0.35 (50% Discount) |\n| qwen2.5-14b-instruct | $0.15 (50% Discount) | $0.50 (50% Discount) |\n| qwen2.5-32b-instruct | $0.35 (50% Discount) | $1.00 (50% Discount) |\n| qwen2.5-72b-instruct | $0.50 (50% Discount) | $2.50 (50% Discount) |\n| qwen3-8b | $0.05 (50% Discount) | $0.35 (50% Discount) |\n| qwen3-14b | $0.15 (50% Discount) | $0.50 (50% Discount) |\n| qwen3-32b | $0.05 (50% Discount) | $0.10 (50% Discount) |\n| qwen2.5-vl-7b-instruct | $0.15 (50% Discount) | $0.50 (50% Discount) |\n| qwen2.5-vl-32b-instruct | $0.50 (50% Discount) | $2.00 (50% Discount) |\n| qwen2.5-vl-72b-instruct | $1.00 (50% Discount) | $4.00 (50% Discount) |\n| qwen3-vl-8b-instruct | $0.05 (50% Discount) | $0.35 (50% Discount) |\n\n* * *\n\n## Simple Integration\n\n✅ Compatible with the official OpenAI packages for Python 🐍 and NodeJS 🛠️.\n\nTo get started, simply initialize the official package as follows:\n\n```JavaScript\nconst client = new OpenAI({\n    baseURL: 'https://swift-ai.jojapi.net',\n    apiKey: 'YOUR_JoJ_API_KEY',\n});\n```\n\n## Usage and Billing Transparency\n\nWe provide detailed cost tracking for every API request. Each response includes a `usage.credits_details` field that breaks down the request cost both in **credits** and in **US dollars**. This allows you to monitor expenses in real time and integrate cost reporting directly into your applications.\n\nExample:\n\n```json\n\"credits_details\": {\n    \"credits_used\": 319950,\n    \"cost_in_dollars\": 0.031995\n}\n```\n\n* * *\n\n## Is this contains the real GPT-5 API?\n\n**Question:**\n\n\\*Why, when I ask the **`GPT-5`** model about its model name, does it answer **`GPT-4`**? instead of **`GPT-5`**\\*\n\n**Answer:**  \n\\> The name given to a model is often created after the model has been trained. So, it has no idea what it’s called.  \nAlso, the models do not have a sense of self, they often produce results from the perspective of a human, because that’s what’s in the training data. Ask an AI about AI’s and they will refer to the AIs as outsiders to us humans.  \nThe only way GPT-5 knows what it is, is if you tell it in the system prompt as \\_j pointed out.  \nPlease see [https://community.openai.com/t/when-i-ask-gpt-5-what-s-your-model-it-says-gpt-4o-why/1354094/5](https://community.openai.com/t/when-i-ask-gpt-5-what-s-your-model-it-says-gpt-4o-why/1354094/5)\n\n* * *",{"score":10},"2.35","Swift AI","Swift AI API","swift-ai","https://cdn.jojapi.com/api/be203347-e019-42a9-87f4-1b66161223ae","2025-05-26 00:29:21",{"enabled":17,"closed":18,"request_enabled":6,"catalog_url":19,"discovery_url":20,"directory_url":21,"rails":22,"networks":25,"docs":27},true,null,"https://swift-ai.jojapi.net/_jojapi/agent/plans","https://swift-ai.jojapi.net/.well-known/x402","https://agents.jojapi.net/apis/swift-ai",[23,24],"x402","mpp",[26],"eip155:8453","https://docs.jojapi.com/consumers/agents",{"nick":13,"name":29,"verified":6,"website":18},"Dev AI",[31,70,95,118,138],{"endpoints":32,"name":68,"description":69,"ungrouped":6},[33],{"blocked":6,"hidden":6,"agent_price":18,"credits":18,"flexible_credits_description":34,"consumptions":35,"description":40,"method":41,"name":42,"url_path":43,"root_url":44,"parameters":45,"responses":61,"result_stats":62},"Credits",[36],{"name":34,"slug":37,"cost":38,"label":34,"avg":39},"credits","{{default(response.headers[\"x-jojapi-credits-used\"], 1)}}",197.05,"Creates a model response for the given chat conversation.","POST","Create Chat Completion","/chat/completions","https://swift-ai.jojapi.net",{"url":46,"header":47,"post":54,"body":55,"path":60},[],[48],{"key":49,"is_auth":17,"example":50,"example_disabled":17,"example_type":51,"name":52,"description":50,"required":17,"always_error":53},"X-JoJAPI-Key","You must log in to get API key","string","JoJ API Key","Please log in to get API key",[],[56],{"key":18,"example":57,"schema":18,"example_disabled":6,"example_type":51,"value_type":51,"enum_values":18,"default_value":58,"required":6,"name":18,"description":59},"{\"model\":\"gpt-5.6-terra\",\"stream\":false,\"messages\":[{\"role\":\"user\",\"content\":\"How many days in 3 weeks.\"}]}","","''",[],[],{"x2":63,"x3":64,"x4":64,"x5":65,"uptime":63,"avg_latency":66,"avg_credits":67},"16.21","0.00","83.79","4,844","197.05","Chat","Given a list of messages comprising a conversation, the model will return a response.",{"endpoints":71,"name":93,"description":94,"ungrouped":6},[72],{"blocked":6,"hidden":6,"agent_price":18,"credits":18,"flexible_credits_description":34,"consumptions":73,"description":76,"method":41,"name":77,"url_path":78,"root_url":44,"parameters":79,"responses":88,"result_stats":89},[74],{"name":34,"slug":37,"cost":38,"label":34,"avg":75},187,"Generates audio from the input text.","Create Speech","/audio/speech",{"url":80,"header":81,"post":83,"body":84,"path":87},[],[82],{"key":49,"is_auth":17,"example":50,"example_disabled":17,"example_type":51,"name":52,"description":50,"required":17,"always_error":53},[],[85],{"key":18,"example":86,"schema":18,"example_disabled":6,"example_type":51,"value_type":51,"enum_values":18,"default_value":58,"required":6,"name":18,"description":59},"{\"model\":\"tts-1\",\"input\":\"Today is a wonderful day!\",\"voice\":\"alloy\"}",[],[],{"x2":90,"x3":64,"x4":64,"x5":64,"uptime":90,"avg_latency":91,"avg_credits":92},"100.00","982","187.00","Audio","Turn audio into text or text into audio.",{"endpoints":96,"name":116,"description":117,"ungrouped":6},[97],{"blocked":6,"hidden":6,"agent_price":18,"credits":18,"flexible_credits_description":34,"consumptions":98,"description":101,"method":41,"name":102,"url_path":103,"root_url":44,"parameters":104,"responses":113,"result_stats":114},[99],{"name":34,"slug":37,"cost":38,"label":34,"avg":100},0,"Creates an embedding vector representing the input text.","Create Embeddings","/embeddings",{"url":105,"header":106,"post":108,"body":109,"path":112},[],[107],{"key":49,"is_auth":17,"example":50,"example_disabled":17,"example_type":51,"name":52,"description":50,"required":17,"always_error":53},[],[110],{"key":18,"example":111,"schema":18,"example_disabled":6,"example_type":51,"value_type":51,"enum_values":18,"default_value":58,"required":6,"name":18,"description":59},"{\"input\":\"Today is a wonderful day\",\"model\":\"text-embedding-3-large\"}",[],[],{"x2":90,"x3":64,"x4":64,"x5":64,"uptime":90,"avg_latency":115,"avg_credits":64},"1,476","Embeddings","Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.",{"endpoints":119,"name":136,"description":137,"ungrouped":6},[120],{"blocked":6,"hidden":6,"agent_price":18,"credits":18,"flexible_credits_description":34,"consumptions":121,"description":123,"method":41,"name":124,"url_path":125,"root_url":44,"parameters":126,"responses":135,"result_stats":18},[122],{"name":34,"slug":37,"cost":38,"label":34,"avg":18},"Classifies if text is potentially harmful.","Create Moderation","/moderations",{"url":127,"header":128,"post":130,"body":131,"path":134},[],[129],{"key":49,"is_auth":17,"example":50,"example_disabled":17,"example_type":51,"name":52,"description":50,"required":17,"always_error":53},[],[132],{"key":18,"example":133,"schema":18,"example_disabled":6,"example_type":51,"value_type":51,"enum_values":18,"default_value":58,"required":6,"name":18,"description":59},"{\"model\":\"text-moderation-latest\",\"input\":\"Today is a wonderful day to build something people love!\"}",[],[],"Moderations","Given some input text, outputs if the model classifies it as potentially harmful across several categories.",{"endpoints":139,"name":146,"description":160,"ungrouped":6},[140],{"blocked":6,"hidden":6,"agent_price":18,"credits":18,"flexible_credits_description":34,"consumptions":141,"description":144,"method":145,"name":146,"url_path":147,"root_url":44,"parameters":148,"responses":155,"result_stats":156},[142],{"name":34,"slug":37,"cost":38,"label":34,"avg":143},0.5,"Return a list of available models on this API","GET","List Models","/models",{"url":149,"header":150,"post":152,"body":153,"path":154},[],[151],{"key":49,"is_auth":17,"example":50,"example_disabled":17,"example_type":51,"name":52,"description":50,"required":17,"always_error":53},[],[],[],[],{"x2":157,"x3":64,"x4":64,"x5":157,"uptime":157,"avg_latency":158,"avg_credits":159},"50.00","181","0.50","List all available models for all endpoints",[],[],[164,179,189,199,209,219,229,239,249],{"type":165,"slug":166,"blocked":6,"period":167,"currency":168,"pricing":169,"rate_limit":173,"objects":174,"name":177,"display_name":177,"features":178},"periodic","ezup3blv27o145mnaga953cj","1 MONTH","usd",{"price":100,"credits":170,"past_due_timeout_num":171,"past_due_timeout_type":172},10000,3,"DAY",{"max_requests":18,"time_window":18},[175],{"id":176,"name":34,"slug":37,"quota":170,"tiers":18},"n3bd491fc","Free",[],{"type":165,"slug":180,"blocked":6,"period":167,"currency":168,"pricing":181,"rate_limit":184,"objects":185,"name":187,"display_name":187,"features":188},"fuyw3d9oj5n804ca06hhewl4",{"price":182,"credits":183,"past_due_timeout_num":171,"past_due_timeout_type":172},1,1000000,{"max_requests":18,"time_window":18},[186],{"id":176,"name":34,"slug":37,"quota":183,"tiers":18},"Basic",[],{"type":165,"slug":190,"blocked":6,"period":167,"currency":168,"pricing":191,"rate_limit":194,"objects":195,"name":197,"display_name":197,"features":198},"pj8cfo27lggyi3dg6w3nrj99",{"price":192,"credits":193,"past_due_timeout_num":171,"past_due_timeout_type":172},5,5000000,{"max_requests":18,"time_window":18},[196],{"id":176,"name":34,"slug":37,"quota":193,"tiers":18},"PRO",[],{"type":165,"slug":200,"blocked":6,"period":167,"currency":168,"pricing":201,"rate_limit":204,"objects":205,"name":207,"display_name":207,"features":208},"rum1vv0931pacn73fkrrwo0z",{"price":202,"credits":203,"past_due_timeout_num":171,"past_due_timeout_type":172},10,10000000,{"max_requests":18,"time_window":18},[206],{"id":176,"name":34,"slug":37,"quota":203,"tiers":18},"ULTRA",[],{"type":165,"slug":210,"blocked":6,"period":167,"currency":168,"pricing":211,"rate_limit":214,"objects":215,"name":217,"display_name":217,"features":218},"mw0ankr9y5y91qrqwh45wup1",{"price":212,"credits":213,"past_due_timeout_num":171,"past_due_timeout_type":172},50,50000000,{"max_requests":18,"time_window":18},[216],{"id":176,"name":34,"slug":37,"quota":213,"tiers":18},"MEGA",[],{"type":165,"slug":220,"blocked":6,"period":167,"currency":168,"pricing":221,"rate_limit":224,"objects":225,"name":227,"display_name":227,"features":228},"1f3mbvc43l5dhdc3b8s7jjzp",{"price":222,"credits":223,"past_due_timeout_num":171,"past_due_timeout_type":172},100,100000000,{"max_requests":18,"time_window":18},[226],{"id":176,"name":34,"slug":37,"quota":223,"tiers":18},"NOVA",[],{"type":165,"slug":230,"blocked":6,"period":167,"currency":168,"pricing":231,"rate_limit":234,"objects":235,"name":237,"display_name":237,"features":238},"txwfnup7eed2n2aql8qj0i0b",{"price":232,"credits":233,"past_due_timeout_num":171,"past_due_timeout_type":172},250,250000000,{"max_requests":18,"time_window":18},[236],{"id":176,"name":34,"slug":37,"quota":233,"tiers":18},"PRIME",[],{"type":165,"slug":240,"blocked":6,"period":167,"currency":168,"pricing":241,"rate_limit":244,"objects":245,"name":247,"display_name":247,"features":248},"rj4t99y5riip5jprk56vez4x",{"price":242,"credits":243,"past_due_timeout_num":171,"past_due_timeout_type":172},500,500000000,{"max_requests":18,"time_window":18},[246],{"id":176,"name":34,"slug":37,"quota":243,"tiers":18},"ELITE",[],{"type":165,"slug":250,"blocked":6,"period":167,"currency":168,"pricing":251,"rate_limit":254,"objects":255,"name":257,"display_name":257,"features":258},"arss3at93qgtaxmvbf3e3xor",{"price":252,"credits":253,"past_due_timeout_num":171,"past_due_timeout_type":172},750,1000000000,{"max_requests":18,"time_window":18},[256],{"id":176,"name":34,"slug":37,"quota":253,"tiers":18},"MAX",[],[],"2025-05-26",{"canonical":262,"page_title":263,"meta":264},"https://jojapi.com/hub/api/swift-ai","Swift AI API Documentation & Playground - JoJ API",{"description":7,"keywords":265},"API,API Documentation,API Playground,Plans & Pricing,Swift AI,swift-ai"]