Why only Tone Simulator calls a model
A writer said they would sign after a review. A model rewrote that as an agreement between two people. The answer was valid JSON, but it changed what the writer had agreed to. That example helped decide which parts of Emoji Intelligence would use a model.
One Worker, two ways to answer
A Cloudflare Worker serves the React interface and a Hono API. Explorer searches a bundled catalog built from Unicode Emoji 18.0 and CLDR 49. All 3,963 entries have English and Russian names and keywords. A keyword like beacon matches two entries. Opening the lighthouse by its ID retrieves the same emoji in either language. See the lighthouse record.
The writing tools post drafts to /api/analyze. The Worker recognizes each emoji, keeps its original spelling and position for highlighting, and computes a rule-based answer. Composer can insert emoji while preserving the writer’s words. Tone asks how a friend or a client might read the same message. That interpretation was worth testing with a model.
What the models got right
Qwen and Gemma each received twelve synthetic messages through Workers AI. Each writing mode had four cases, two in English and two in Russian. Before the run, the release rule required three usable answers out of four, including one in each language, with no material error. One bilingual AI evaluator graded the seven answers that met the output contract. Model names were hidden during grading.
| Mode | Qwen | Gemma |
|---|---|---|
| Context Checker | 1 of 4 | 0 of 4 |
| Composer | 1 of 4 | 0 of 4 |
| Tone Simulator | 3 of 4 | 0 of 4 |
Of the 24 attempts, 15 ran out of completion tokens and two timed out. Gemma produced no contract-valid answers under these settings. Qwen qualified for Tone alone. Checker and Composer use rules in the public demo. Four cases per mode supported that release decision. Estimating how often the model helps real writers would take a larger sample and independent human ratings.
Who gets the last model call?
Visitors share a daily budget of 1,000 Neurons for inference. Before calling Qwen, the Worker asks a single Durable Object to reserve enough for the prompt and the maximum answer. A storage transaction checks the balance and records the reservation together. If two visitors arrive when only one request fits, one gets the model and the other gets the rule-based reading.
The full reservation counts for the UTC day even if the visitor leaves or the provider times out. That choice gives up some capacity to keep the spending limit predictable. The same fallback handles a malformed model answer. In each case the original draft stays visible and the UI labels the source of the reading.