Back to models
Falcon-H1R-7B
Falcon-H1R-7B is a 7B open-weight reasoning model by TII built on a hybrid Transformer-Mamba2 architecture, delivering high parameter efficiency in complex mathematics, algorithm coding, and multi-step logic.
What you can do
- Competition math and formal proofs
- Algorithm design and code debugging
- Single-GPU local reasoning deployment
Input & output
- Input
- Text prompts, mathematical problem statements, and code snippets
- Output
- Chain-of-thought reasoning traces (<think>) and structured solutions or code
Try a prompt like this
Prove whether there exist infinitely many positive integers n such that n^2 + 1 divides n!, and implement a Python script to check all n <= 1000.
Things to know
BF16 weights require ~16GB VRAM (FP8/GGUF fits 8–12GB); serving requires Mamba2-compatible runtimes (vLLM, SGLang, or Transformers with mamba-ssm) under the Falcon LLM License.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
tiiuae/Falcon-H1R-7B
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="tiiuae/Falcon-H1R-7B",
messages=[{"role": "user", "content": "Prove whether there exist infinitely many positive integers n such that n^2 + 1 divides n!, and implement a Python script to check all n <= 1000."}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide