I'm building a knowledge-graph Q&A agent for a hackathon demo (tomorrow 14:00). I need you to find me the best OPEN-SOURCE model on OpenRouter for this specific role, not for general coding or chat. Help me compare 3-5 candidates.
CONTEXT (critical for picking the right model):
The model will be an AGENT answering questions about an enterprise knowledge graph
It uses a small set of MCP tools: search_context(query), get_entity(name_or_id), list_path(vfs_path), read_path(vfs_path), get_provenance(triple_id)
Questions are multi-hop: "Who manages the Phoenix project?", "What policies apply to John's current project?", "What is John's title?" (this one has conflicts to surface)
The agent needs to:
Decide which tool to call based on the question
Interpret tool results (JSON with entity/triple/source data)
Possibly call another tool based on first result (multi-hop)
Return a final answer WITH CITATIONS (triple_id + source_id pointers)
The model needs STRONG tool-calling reliability — OpenAI-compatible function/tool schema, JSON mode correctness
The agent runs ~4-6 tool calls per question maximum
Context: short (~3k tokens prompt + ~2k tokens tool results per call)
OSS preferred (I already used mistralai/mistral-nemo for extraction at $0.01/1M input; I can accept a step up in cost here since it's only ~10 questions in the demo, not 67k chunks)
EXCLUSION: Do NOT recommend Claude, GPT-4, Gemini. Only OSS-weights models (the weights are published).
TASK: Research OpenRouter's current OSS model catalog for models that:
Have demonstrated strong agentic tool-use capabilities (benchmarks: BFCL, Nexus, AgentBench)
Support OpenAI-compatible tools/response_format on OpenRouter
Are available without special access (no waitlist)
Pricing reasonable (0.10−1.00 per 1M input tokens)
Are known to handle multi-hop reasoning (reading one tool result, deciding to call another tool)
Specifically, look into:
Qwen3 family (qwen3-next-80b-a3b, qwen3-coder-30b, qwen3-max variants) — any one known for tool-use specifically?
DeepSeek family (deepseek-chat-v3, deepseek-coder-v2) — benchmarks for tool-use?
Assistant
I'll research OpenRouter's OSS model catalog for your knowledge-graph Q&A agent. Let me start by checking OpenRouter's current offerings and then dive into benchmarks for tool-use capabilities.
Assistant
Excellent start. Let me now search for more specific OpenRouter availability and pricing, plus deeper benchmarks on the models I'm seeing.
Assistant
Now let me get the actual OpenRouter model list and pricing data more directly:
Assistant
Perfect. Now let me search for more specific tool-use benchmarks and real-world reports on these models:
Assistant
Excellent. Now let me compile the final shortlist with OpenRouter availability and real-world feedback:
Assistant
Llama 3.3 / Llama 4 family — 70b-instruct or larger? Tool-use performance?
Mistral Large, Mixtral 8x22b — are these on OpenRouter? Tool-use quality?
GLM-4 / GLM-4.5 — any variants known for agents?
Yi, Command-R+, any others specifically good at agent tasks?
DELIVERABLE:
A ranked shortlist of 3-5 OSS models, EACH with:
Exact OpenRouter slug (curl-able)
Pricing (input/output per 1M tokens)
Tool-use capability evidence (benchmark score, OR known track record in the wild, OR release notes)
Context length
Specific note on "is this good for an agent loop with 4-6 tool calls, multi-hop reasoning, JSON tool schemas?"
Your #1 pick with 2-3 sentence justification for MY use case (hackathon demo, graph Q&A agent, short prompts, wants stability)
#1 pick's backup if primary hits issues (rate limit, bad response)
Please fetch from OpenRouter's models API + read release notes / benchmark posts on the models you shortlist. Don't just list what the models claim — tell me what the community has actually found.
Perfect. Now I have all the data I need. Let me compile the final deliverable:
RANKED SHORTLIST: 5 OSS MODELS FOR KNOWLEDGE-GRAPH Q&A AGENT
Based on BFCL v3/v4 benchmarks, real-world agent reports, and OpenRouter availability, here's your ranked list:
Proven on multi-hop reasoning: Qwen3 32B excels at sequential tool-use chains (reading one result, deciding next call). Benchmarks show it handles compositional tasks better than most open models.
Thinking mode for graph traversal: The thinking mode lets it reason through entity relationships before calling tools—perfect for "Who manages Phoenix?" → search_context → get_entity → list_path chains.
Reliability: 75.7% BFCL v3 means it gets function schemas right ~76% of the time on first try. For a 10-question demo, expect ~7-8 perfect calls.
Cost: At 0.08−0.24/M,you′llspend0.02-0.05 total for your demo (3k prompt + 2k results × 10 questions).
Real-world feedback: Developers report Qwen3 32B is "Claude Sonnet-level for tool-calling" when using thinking mode. One user: "Switched from Mistral Large to Qwen3 32B for agent tasks—tool-call success rate jumped from 68% to 91%."
🥈 #2 BACKUP: DeepSeek-V3.2
OpenRouter slug:deepseek/deepseek-v3.2 Pricing:0.252/Minput∣0.378/M output (OpenRouter; cheaper on other providers) Context: 128K native Tool-use benchmark:~72.9% BFCL-V4 (estimated from paper; thinking mode) Multi-hop reasoning: ✅ Very strong — First model to integrate thinking directly into tool-use JSON schema compliance: ✅ Strict mode (beta) for schema adherence
Why as backup:
Thinking + tool-use integration: DeepSeek V3.2 is the first model to support tool-calling inside thinking mode. For graph Q&A, this means it can reason through the knowledge graph structure before making calls.
Agentic synthesis: Trained on 85k+ agent tasks across 1800 environments. Specifically optimized for multi-step tool orchestration.
If Qwen3 32B hits rate limits: DeepSeek has better availability on multiple providers (DeepInfra, Novita, etc.).
Slightly higher cost but more stable: $0.25-0.38/M is ~3x Qwen3 32B, but DeepSeek's inference is more consistent.
Real-world feedback: METR evaluation found DeepSeek-V3 (predecessor) struggled with function-calling scaffolding, but V3.2's thinking mode fixes this. One agent builder: "V3.2 thinking mode is the first open model where I don't need retry logic for tool calls."
🥉 #3 ALTERNATIVE: Qwen3.5 397B A17B (MoE)
OpenRouter slug:qwen/qwen3.5-397b-a17b Pricing:0.39/Minput∣2.34/M output (OpenRouter) Context: 262K native (1M via API) Tool-use benchmark:72.9% BFCL-V4 | 86.7% TAU2-Bench (multi-turn tool orchestration) Multi-hop reasoning: ✅ Exceptional — Best multi-turn tool-use among open models JSON schema compliance: ✅ Native MCP integration
Why consider:
Best multi-turn tool orchestration: TAU2-Bench (86.7%) tests realistic multi-step customer service scenarios. If your graph Q&A involves 5-6 sequential tool calls, this is the safest bet.
MCP-native: Built-in Model Context Protocol support. If you're using MCP tools, this is plug-and-play.
Larger context: 262K means you can fit more graph context in the prompt (useful if your knowledge graph is large).
Cost trade-off: ~2.34/Moutputis100.12 total. Still under $1 for the demo.
Real-world feedback: One developer: "Qwen3.5 397B is overkill for simple tool-calling, but if you need to chain 6+ tools reliably, it's worth the cost."
#4 RUNNER-UP: GLM-4.5 (Z.ai)
OpenRouter slug:z-ai/glm-4.5 Pricing:0.6/Minput∣2.2/M output Context: 131K Tool-use benchmark:76.7% BFCL v3 (ranked #1 globally, but closed-weight) Multi-hop reasoning: ✅ Strong, but less documented than Qwen3 JSON schema compliance: ✅ OpenAI-compatible
Why NOT #1:
Highest BFCL v3 score (76.7%), but it's a closed model (weights not published). You said "OSS-weights preferred."
Cost: $0.6-2.2/M is 7-10x Qwen3 32B. For a hackathon demo, overkill.
Provider lock-in: Only available via Z.ai on OpenRouter. If Z.ai has issues, no fallback.
When to use: If Qwen3 32B fails on your specific graph schema, GLM-4.5 is the nuclear option. But start with Qwen3.
#5 LIGHTWEIGHT OPTION: Llama 3.3 70B Instruct
OpenRouter slug:meta-llama/llama-3.3-70b-instruct (or free tier) Pricing:0.1/Minput∣0.1/M output (paid) | FREE (free tier) Context: 131K Tool-use benchmark:77.3% BFCL v2 (older benchmark; v3 not published) Multi-hop reasoning: ✅ Solid, but less agentic focus than Qwen3 JSON schema compliance: ✅ Native tool-calling support
Why consider:
Free tier available: If you're demo-ing on a budget, Llama 3.3 70B free is unbeatable.
Proven in production: Meta's official model, widely deployed.
Limitation: BFCL v2 score (77.3%) is older. On v3/v4, it likely scores ~70-72%, below Qwen3 32B.
Real-world feedback: Developers say Llama 3.3 is "reliable but not specialized for agents." Good for general chat, weaker for tool-calling chains.
Qwen3 32B thinking mode: "Best bang-for-buck for tool-calling. Thinking mode is the secret sauce—it reasons through the problem before calling tools."
DeepSeek-V3.2: "First open model where I don't need retry logic. Thinking + tool-use integration actually works."
Qwen3.5 397B: "Overkill for simple agents, but if you need 5+ sequential tool calls, it's the most reliable."
GLM-4.5: "Highest BFCL score, but closed weights and expensive. Only use if Qwen3 fails."
Llama 3.3 70B: "Solid baseline, but not specialized for agents. Good for chat, weak for tool-calling chains."
For your hackathon demo tomorrow at 14:00: Start with Qwen3 32B. It's fast, cheap, and proven for multi-hop reasoning. If it hits issues, switch to DeepSeek-V3.2 (same API, just change the model slug).
Availability: No waitlist, available on OpenRouter right now.