---
title: "Best LLM API for Arabic - what to test before you choose"
description: "How to pick an LLM for Arabic apps: dialect understanding, writing quality, translation, Arabic documents and images, cost, plus a test set you can build in a day."
url: https://broadrouter.com/blog/choosing-an-llm-for-arabic/
lang: en
updated: 2026-11-14
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# Choosing an LLM API for Arabic: what to test

By the BroadNet Inference team · 7 min read · Published 2026-11-14

Choose an LLM for Arabic by testing it on your own tasks: understanding Gulf, Egyptian and Levantine dialects, writing fluent Modern Standard Arabic, translating Arabic and English, and reading Arabic documents. In BroadNet's tests, Qwen3.8 27B wrote fluent Arabic and understood Gulf and Egyptian dialects. It costs $0.175 per 1M input tokens.

## Key takeaways

-   Test dialect understanding, Arabic writing, translation and document reading separately. Models differ on each.
-   Public Arabic leaderboards help you shortlist, but they don't test your dialects, tone or documents.
-   In BroadNet's tests, Qwen3.8 27B wrote fluent Arabic, understood Gulf and Egyptian dialects and translated accurately.
-   Vision models can read Arabic invoices and receipts and return structured JSON.
-   Arabic often uses more tokens per word than English, so compare cost on your real text, not per word.
-   Pair the LLM with Arabic speech to text for voice notes and calls.

**On this page**

1.  Which Arabic jobs should you test?
2.  What do public Arabic leaderboards tell you?
3.  Which LLM APIs support Arabic?
4.  Which BroadNet models can handle Arabic?
5.  How do you build an Arabic test set?
6.  How should you score the outputs?
7.  Does the system prompt change the result?
8.  Why does Arabic cost more tokens than English?
9.  Can an LLM read Arabic invoices and images?
10.  What about Arabic voice notes and calls?
11.  Why do some Arabic answers come back empty?
12.  What mistakes should you avoid?
13.  Where BroadNet Inference fits

To choose an LLM API for Arabic, test each candidate on the jobs your product does: understanding your users’ dialects, writing natural Modern Standard Arabic, translating, and reading Arabic documents. Score each job separately with a native speaker. “Supports Arabic” can mean anything from fluent Gulf dialect to stiff, translated-sounding text.

## Which Arabic jobs should you test?

| Job | Example | What to check |
| --- | --- | --- |
| Understand dialect | A Saudi customer types in Khaleeji | Does it get the intent, not just the words? |
| Write Arabic | A reply in clear Modern Standard Arabic | Fluency, grammar, natural tone, right register |
| Translate | Arabic ↔ English contracts or support tickets | Accuracy of names, numbers and legal terms |
| Read documents | Photo of an Arabic invoice | Totals, dates and vendor extracted correctly |
| Hear speech | Voice notes, calls | That’s a [speech-to-text](https://broadrouter.com/glossary/speech-to-text/) model, not an LLM; see below |

A model can be strong on one and weak on another. Score each job separately.

## What do public Arabic leaderboards tell you?

Several public leaderboards rank models in Arabic. The [Open Arabic LLM Leaderboard](https://huggingface.co/spaces/OALL/Open-Arabic-LLM-Leaderboard) on Hugging Face is one. [BALSAM](https://arxiv.org/abs/2507.22603) is a community benchmark with 78 tasks in 14 categories and a platform for blind evaluation; its authors write that LLM performance in Arabic lags behind the progress seen in English.

Use these to build a shortlist, not to make the final choice. Benchmarks are mostly multiple-choice questions and standard tasks. They rarely test Gulf customer messages, your brand’s tone, or a photo of a crumpled receipt. Those are the things your users notice.

## Which LLM APIs support Arabic?

Almost every general chat API accepts Arabic text, so the useful question is how well it handles your dialects and whether you can call the Arabic-first models at all. We checked the four Arabic-first families people ask about on 14 November 2026. None had a per-token API price published by its maker:

| Model family | Who makes it | How you can run it (checked 14 November 2026) | Price |
| --- | --- | --- | --- |
| Jais 2 (8B, 70B chat) | MBZUAI, Inception and Cerebras | Open weights on Hugging Face under Apache 2.0, 8,192-token context. The 70B model card says no Inference Provider deploys it. The older Jais-30b-chat was removed from GitHub Models on 31 October 2025. | None published; you pay for your own GPUs |
| Falcon-H1-Arabic (3B, 7B, 34B) | Technology Innovation Institute (TII) | Announced 5 January 2026 with 128K (3B) or 256K (7B, 34B) context. The launch post links a web chat demo; it names no hosted API and no weights download. | None published |
| ALLaM (allam-1-13b-instruct) | Saudi Data and Artificial Intelligence Authority (SDAIA); HUMAIN publishes the 7B preview | On IBM watsonx.ai as a deploy-on-demand model with a 4,096-token window (input plus output). ALLaM-7B-Instruct-preview is open on Hugging Face under Apache 2.0. | watsonx.ai bills deploy-on-demand models per hour, not per token |
| Fanar | Qatar Computing Research Institute (QCRI) | Fanar says it “provides an API for developers”; access is by request form at api.fanar.qa | None published |

So if you want pay-per-token Arabic through an [OpenAI-compatible API](https://broadrouter.com/glossary/openai-compatible-api/), you will usually use a strong multilingual model, such as the ones below, and test it on your dialects. If you need a specific Arabic-first model, plan to self-host it, rent a dedicated deployment, or request Fanar API access; the [self-hosting vs API cost](https://broadrouter.com/blog/self-hosting-llm-vs-api-cost/) post shows the break-even math.

## Which BroadNet models can handle Arabic?

BroadNet publishes its own Arabic check on its [pricing page](https://inference.broadnet.ai/pricing?utm_source=broadrouter&utm_medium=referral&utm_campaign=blog-choosing-an-llm-for-arabic&utm_content=body). For [Qwen3.8 27B](https://broadrouter.com/models/qwen3.8-27b/) it reports fluent Arabic writing, Gulf and Egyptian dialects understood, and accurate Arabic–English translation. The model takes text and images, supports [tool calling](https://broadrouter.com/glossary/tool-calling/) and [structured output](https://broadrouter.com/glossary/structured-output/), and has a 262,144-token context.

Other options on the same API:

| Model | Input / output per 1M tokens | Context | Images |
| --- | --- | --- | --- |
| [Qwen3.8 27B](https://broadrouter.com/models/qwen3.8-27b/) | $0.175 / $2.17 | 262,144 | Yes |
| [DeepSeek V4.1 Flash](https://broadrouter.com/models/deepseek-v4.1-flash/) | $0.175 / $0.52 | 1,048,576 | Yes |
| [BroadNet Gemma 4 VL 26B](https://broadrouter.com/models/gemma-4-vl-26b/) | $0.10 / $0.22 | 32,768 | Yes |

DeepSeek V4.1 Flash is also available unlimited on a flat plan ($60 a month per session), which suits high-volume Arabic chat and agents. The [DeepSeek V4.1 Flash vs Qwen3.8 27B comparison](https://broadrouter.com/compare/deepseek-v4.1-flash-vs-qwen3.8-27b/) puts the two main candidates side by side. Gemma 4 VL 26B is the cheapest BroadNet model per token and works on the free starting credit.

## How do you build an Arabic test set?

1.  **Collect 50 real inputs** from your product: chats, tickets, documents. Include at least 10 in each dialect your users write. For a dialect-only test, with an intent-labelling method, see [how LLMs handle Gulf, Egyptian and Levantine Arabic](https://broadrouter.com/blog/arabic-llm-gulf-egyptian-dialects/).
2.  **Write the ideal answer** for 20 of them, or have a native speaker do it.
3.  **Run every candidate model** on all 50 with the same system prompt. State the dialect and register you want in the prompt: “Reply in clear Modern Standard Arabic, friendly, short.”
4.  **Blind-rate the outputs** 1 to 5 for correctness and naturalness. Have a native speaker do the rating.
5.  **Check cost on real text.** Read `prompt_tokens` and `completion_tokens` from the usage block rather than estimating from word counts.

Because the API is OpenAI-compatible, switching models is a one-line change of the `model` field. See the [OpenAI-compatible migration checklist](https://broadrouter.com/blog/openai-compatible-api-migration-checklist/).

## How should you score the outputs?

| Criterion | Score 1 | Score 5 |
| --- | --- | --- |
| Intent understood | Misreads the dialect | Correct, including slang |
| Grammar and fluency | Errors or broken agreement | Reads like a native writer |
| Register | Wrong dialect or too formal | Exactly what the prompt asked |
| Facts, names, numbers | Changed or invented | Exact |
| Script | Latin transliteration or mixed | Arabic script throughout |

Average per job, not overall. A model that scores 4.5 on writing and 2 on dialect is a different choice from one that scores 3.5 on both.

## Does the system prompt change the result?

Yes, enough to change the ranking. Use the same system prompt for every candidate, and state the dialect you expect, the register you want back, and how to treat numbers and English names. [Arabic prompt engineering](https://broadrouter.com/blog/arabic-prompt-engineering/) has a complete template. Keep that prompt identical across calls so it can be read from cache on models with a [cached input](https://broadrouter.com/blog/cached-input-tokens-explained/) price.

## Why does Arabic cost more tokens than English?

Arabic text often splits into more [tokens](https://broadrouter.com/glossary/token/) per word than English, and the ratio differs between models. Two models with the same price per token can have different costs per Arabic message. Paste a sample of your real text into the [Arabic token counter](https://broadrouter.com/tools/arabic-token-counter/), then confirm with `prompt_tokens` from a live request on each candidate and project the monthly bill with the [LLM API cost calculator](https://broadrouter.com/tools/llm-api-cost-calculator/). How to measure your own ratio is in [tokens per word in Arabic vs English](https://broadrouter.com/blog/tokens-per-word-arabic-english/). For what this does to the bill on each model and provider, see our [real cost by language dataset](https://broadrouter.com/data/real-cost-by-language/), which prices 1M characters of Arabic, its dialects and other languages with each model’s own tokenizer.

## Can an LLM read Arabic invoices and images?

For invoices, receipts and forms, send the photo to a [vision-language model](https://broadrouter.com/glossary/vision-language-model/) and ask for JSON. The [Arabic invoice guide](https://broadrouter.com/guides/read-arabic-invoices-with-vision/) has working code, and [Arabic OCR vs vision LLMs](https://broadrouter.com/blog/arabic-ocr-vision-llm/) covers when classic OCR is still the better tool. Check numbers carefully: Eastern Arabic numerals (٠١٢٣) and Western numerals (0123) both appear on Gulf receipts.

## What about Arabic voice notes and calls?

For voice notes and calls, transcribe first with an Arabic speech-to-text model, then send the text to the LLM. BroadNet Transcribe Arabic costs $0.0042 per audio minute. [How to choose an Arabic speech-to-text API](https://broadrouter.com/blog/arabic-speech-to-text-api-buyers-guide/).

## Why do some Arabic answers come back empty?

DeepSeek V4.1 Flash and Qwen3.8 27B reason before they answer, and those [reasoning tokens](https://broadrouter.com/glossary/reasoning-tokens/) count toward `max_tokens`. Arabic answers can be long, so leave room, or the visible answer comes back empty. [Why that happens and how to fix it](https://broadrouter.com/guides/reasoning-tokens-empty-response/).

## What mistakes should you avoid?

-   **Rating with non-native speakers.** Fluency problems are invisible to learners.
-   **Mixing dialects in one score.** Keep Gulf, Egyptian and Levantine results apart.
-   **Trusting translated test sets.** Text translated from English doesn’t read like real Arabic users.
-   **Forgetting right-to-left display.** Mixed Arabic and English lines can render out of order in your UI. Test the display, not only the text.

## Where BroadNet Inference fits

BroadNet offers an Arabic-tested chat model, two cheaper or unlimited alternatives, and Arabic speech to text on one OpenAI-compatible key, with no content retained. It does not publish Arabic benchmark scores for its chat models beyond its own tests, so run the test set above before you commit. If a model elsewhere wins on your dialect, that result matters more than any catalogue.

Free tools for this

-   [Arabic token counter](https://broadrouter.com/tools/arabic-token-counter/) Arabic vs English token counts per tokenizer: the "Arabic tax" in tokens and money.
-   [Arabic text normalizer](https://broadrouter.com/tools/arabic-text-normalizer/) Tashkeel, tatweel, alef, ya, ta marbuta, digits and invisible characters, with a matching Python function.
-   [Speech-to-text cost calculator](https://broadrouter.com/tools/speech-to-text-cost-calculator/) Hours, calls or voice notes to a monthly transcription bill, against your current provider.

[All free tools](https://broadrouter.com/tools/)

## Terms in this article

[Token](https://broadrouter.com/glossary/token/)

A token is the unit of text a language model reads and writes: a word, part of a word, a punctuation mark or a byte sequence produced by the model's tokenizer. LLM APIs count, limit and usually bill usage in tokens.

[Modern Standard Arabic (MSA)](https://broadrouter.com/glossary/msa/)

Modern Standard Arabic (MSA) is the standardized form of Arabic used in writing, news, education and formal speech across the Arab world. It is nobody's native everyday language: people speak regional dialects such as Egyptian or Gulf Arabic and switch to MSA in formal settings.

[Speech-to-text](https://broadrouter.com/glossary/speech-to-text/)

Speech-to-text, also called automatic speech recognition (ASR), is technology that converts spoken audio into written text. A speech-to-text API accepts an audio file or stream and returns a transcript, usually priced per minute of audio. Accuracy is measured with word error rate and varies with accent, dialect and recording quality.

[System prompt](https://broadrouter.com/glossary/system-prompt/)

A system prompt is the instruction text an application sends to a language model ahead of the conversation, usually as a message with the system or developer role. It sets the model's role, rules, tone and output format, and the model is meant to follow it over conflicting user messages.

[Tool calling](https://broadrouter.com/glossary/tool-calling/)

Tool calling, also called function calling, is an LLM API feature in which the model returns a structured request to run a function the developer has defined, with JSON arguments. The application runs the function and sends the result back; the model never runs code itself.

[Dialectal Arabic](https://broadrouter.com/glossary/dialectal-arabic/)

Dialectal Arabic is the everyday spoken Arabic of a region or city, such as Egyptian, Gulf, Levantine or Maghrebi Arabic. Dialects differ from Modern Standard Arabic in sounds, words and grammar, have no standard spelling, and are increasingly written online, which makes them harder for language models.

[Model license](https://broadrouter.com/glossary/model-license/)

A model license is the legal terms under which a model's weights, code and outputs may be used, changed and shared. Open-weight models use standard software licences such as Apache 2.0 or MIT, or custom model licences that can add conditions, such as limits on large commercial services.

[Inference provider](https://broadrouter.com/glossary/inference-provider/)

An inference provider is a company that runs machine learning models, often open-weight LLMs, on GPUs it owns, leases or rents, and sells access to them through an API, usually priced per token, per request or per unit of time. It handles serving, scaling and hardware.

## Questions

### Which BroadNet model is best for Arabic?

BroadNet tested Qwen3.8 27B in Arabic and reports fluent writing, Gulf and Egyptian dialects understood, and accurate Arabic–English translation. Test it, and DeepSeek V4.1 Flash, on your own prompts.

### What is the best LLM for Arabic?

It depends on the job and the dialect. Use public leaderboards such as the Open Arabic LLM Leaderboard or BALSAM to shortlist, then rate the shortlist on 50 of your own inputs with a native speaker. A model that leads a benchmark can still sound stiff in your dialect.

### Can an LLM read Arabic documents and images?

Vision models such as Qwen3.8 27B, DeepSeek V4.1 Flash and BroadNet Gemma 4 VL 26B accept images, so they can read photos of Arabic invoices, receipts and forms and return JSON.

### Which LLM APIs support Arabic?

Most general chat APIs accept Arabic, but quality varies by dialect. Arabic-first models such as Jais 2, Falcon-H1-Arabic, ALLaM and Fanar had no maker-published per-token API price on 14 November 2026. Jais 2 is open weights to self-host, ALLaM runs on IBM watsonx.ai as an hourly dedicated deployment, and Fanar gives API access by request.

### Why does Arabic text cost more tokens than English?

Tokenizers are often trained on more English than Arabic, so Arabic words tend to split into more tokens. The effect varies by model, so compare prompt\_tokens on the same Arabic text for each candidate.

### Can an LLM reply in Gulf or Egyptian dialect?

Many can, but quality varies more than in Modern Standard Arabic. Ask for the dialect explicitly in the system prompt and have a native speaker rate the replies.

## Keep reading

-   [Saudi and UAE PDPL and LLM APIs: a cross-border checklist](https://broadrouter.com/blog/saudi-uae-pdpl-llm-api-checklist/)
-   [Arabic speech-to-text API: how to choose one in 2026](https://broadrouter.com/blog/arabic-speech-to-text-api-buyers-guide/)
-   [Switching to an OpenAI-compatible API: a migration checklist](https://broadrouter.com/blog/openai-compatible-api-migration-checklist/)
-   [Cached input tokens: how to cut an LLM API bill](https://broadrouter.com/blog/cached-input-tokens-explained/)
-   [Add diacritics to Arabic text with an LLM: prompt, checks, DER](https://broadrouter.com/blog/arabic-diacritization-llm/)
-   [Arabic grammar and spelling correction with an LLM: a how-to](https://broadrouter.com/blog/arabic-grammar-spelling-correction-llm/)
-   [Guide: Read Arabic invoices and receipts with a vision model](https://broadrouter.com/guides/read-arabic-invoices-with-vision/)
-   [Guide: Arabic speech-to-text API, step by step](https://broadrouter.com/guides/arabic-speech-to-text-api/)
-   [Guide: Why a reasoning model returns an empty answer](https://broadrouter.com/guides/reasoning-tokens-empty-response/)

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=blog-choosing-an-llm-for-arabic&utm_content=page-cta) ·

**Sources**

-   [BroadNet Inference pricing page, Qwen3.8 27B "Tested in Arabic" note (fetched 2026-11-14)](https://inference.broadnet.ai/pricing?utm_source=broadrouter&utm_medium=referral&utm_campaign=blog-choosing-an-llm-for-arabic&utm_content=sources)
-   [BroadNet Inference machine-readable prices, pricing.json (fetched 2026-11-14)](https://inference.broadnet.ai/pricing.json?utm_source=broadrouter&utm_medium=referral&utm_campaign=blog-choosing-an-llm-for-arabic&utm_content=sources)
-   [BroadNet Inference API reference (fetched 2026-11-14)](https://inference.broadnet.ai/docs?utm_source=broadrouter&utm_medium=referral&utm_campaign=blog-choosing-an-llm-for-arabic&utm_content=sources)
-   [Open Arabic LLM Leaderboard (OALL) on Hugging Face (fetched 2026-11-14)](https://huggingface.co/spaces/OALL/Open-Arabic-LLM-Leaderboard)
-   [BALSAM: A Platform for Benchmarking Arabic Large Language Models (arXiv 2507.22603; fetched 2026-11-14)](https://arxiv.org/abs/2507.22603)
-   [Hugging Face, inceptionai/Jais-2-70B-Chat model card: Apache 2.0, 8,192 context, no Inference Provider (checked 2026-11-14)](https://huggingface.co/inceptionai/Jais-2-70B-Chat)
-   [GitHub changelog, deprecated models in GitHub Models: Jais-30b-chat removed (October 31, 2025; checked 2026-11-14)](https://github.blog/changelog/2025-10-31-deprecated-models-in-github-models)
-   [Hugging Face blog, Introducing Falcon-H1-Arabic (January 5, 2026; checked 2026-11-14)](https://huggingface.co/blog/tiiuae/falcon-h1-arabic)
-   [IBM watsonx.ai, supported foundation models: allam-1-13b-instruct deploy on demand (checked 2026-11-14)](https://www.ibm.com/docs/en/SSYOK8/wsj/analyze-data/fm-models.html)
-   [IBM watsonx.ai, billing details for generative AI assets: deploy-on-demand billed per hour (checked 2026-11-14)](https://www.ibm.com/docs/en/SSYOK8/wsj/getting-started/wxai-runtime-plans-genai.html)
-   [Hugging Face, humain-ai/ALLaM-7B-Instruct-preview model card: Apache 2.0 (checked 2026-11-14)](https://huggingface.co/humain-ai/ALLaM-7B-Instruct-preview)
-   [Fanar, Arabic AI platform by QCRI: API access by request (checked 2026-11-14)](https://fanar.qa/en)
