{"uid":"cap_2Zj7qzcVBQuNwkzBFFwV-","slug":"t-t-hospitality-llp-multi-model-ai-chat-api-0dfe27fb","name":"T&T Hospitality LLP - Multi-Model AI Chat API","description":"Pay-per-call AI API. 30 verified working models from Groq, OpenAI, Anthropic, Google, DeepSeek, Meta, Mistral, Qwen & more. From $0.005/call.","url":"https://tandt.appziac.com/api/chat","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"model":{"type":"string","description":"Model name. Options: claude-opus, claude-sonnet, command-r7b, compound, compound-mini, deepseek-r1, deepseek-r1-llama, deepseek-v3, gemini-flash, gemini-pro, gemma-27b, gpt-4.1, gpt-4.1-mini, gpt-4o, gpt-4o-mini, gpt-oss-120b, gpt-oss-20b, llama-70b, llama4-maverick, llama4-scout, mistral-medium, mistral-nemo, nova-lite, nova-pro, o3-mini, o4-mini, phi-4, qwen3-235b, qwen3-27b, qwen3-30b"},"prompt":{"type":"string","description":"The prompt to send to the AI model"},"max_tokens":{"type":"integer"}}},"responseSchema":{"type":"object","properties":{"id":{"type":"string"},"model":{"type":"string"},"tokens":{"type":"integer"},"cost_usd":{"type":"number"},"provider":{"type":"string"},"response":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ftw50GtwNgFIpfoW_eeB2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Routes a text prompt to one of 30+ AI models from Groq, OpenAI, Anthropic, Google, DeepSeek, and others, returning the model's text response with token and cost metadata.","exampleAgentPrompt":"Send this prompt to claude-sonnet and give me the response: 'Explain the difference between TCP and UDP in plain English, keep it under 150 words.' Use up to 300 tokens.","exampleUseCases":[{"title":"Quick reasoning with o3-mini","prompt":"Ask o3-mini to solve this logic puzzle and return the answer: 'A farmer has 17 sheep, all but 9 die. How many are left?' Limit the response to 100 tokens."},{"title":"Code explanation via gpt-4.1","prompt":"Send this to gpt-4.1: 'Explain what this Python function does: def fib(n): return n if n <= 1 else fib(n-1) + fib(n-2)' — keep max_tokens at 200."},{"title":"Creative writing with llama4-maverick","prompt":"Use llama4-maverick to write a two-sentence tagline for a new eco-friendly water bottle brand called AquaLeaf, max 80 tokens."}],"resultDescription":"A JSON object containing: a unique response ID, the model name used, total tokens consumed, cost in USD, the provider name (e.g. 'openai', 'anthropic'), and the full text response from the AI model.","failureModes":["Invalid or unrecognized model name returns an error","Prompt field missing causes a 400 validation error","Insufficient USDC payment (x402) results in 402 Payment Required","Token limit exceeded by model constraints","Provider-side rate limits or outages cause 5xx errors","Empty or malformed prompt may return an unhelpful or truncated response"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call access to a wide variety of AI models (30+) without managing separate API keys or subscriptions. It is ideal for agents that need to switch between model providers (e.g. Anthropic vs OpenAI vs Groq) through a single unified interface, or when cost predictability at $0.005/call matters. Prefer alternatives when you need streaming responses, function calling, structured outputs, or embeddings.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:30:41.171Z","isFirstParty":false}