Which Ollama Local Model is Best? Dates Palm Tree SVG Comparison (17 Models)

A dates palm tree is another Fibonacci marvel of nature: its fronds (large feather-like leaves) spiral around the trunk following Fibonacci numbers, and each frond itself has leaflets arranged in a Fibonacci pattern along the central rib. We asked our models to draw a dates palm tree to test whether they can render the spiral frond crown, the tall slender trunk with textured diamond leaf scars, the hanging clusters of dates, and the desert/sky scene context. This prompt tests organic geometry (spiraling fronds), texture (trunk pattern), color depth (green fronds, brown trunk, red/brown dates), and scene composition (sky, ground, perspective).

The prompt was: Make an svg image of a dates palm tree

This is the fifteenth in our SVG benchmark series. See also: duck on a bicycle, duck with a parachute, duck driving a jeep, cherry blossom trees, duck programmer debugging at 3am, baby shark fish, octopus playing chess, FIFA World Cup 2026, elephant on a skateboard, flying helicopter, sunflower with seeds, pineapple, pinecone, nautilus shell.

Why a dates palm tree? The dates palm prompt is a composition and texture stress test because it combines: (1) Spiral frond arrangement – palm fronds spiral around the top of the trunk following Fibonacci phyllotaxis; a good model should fan the fronds outward at varying angles rather than placing them all in a flat row, (2) Feather-like fronds – each frond has a central rib with many small leaflets on both sides, requiring the model to generate repeating elements efficiently, (3) Trunk texture – a palm trunk has diamond-shaped leaf scars from old fronds; this is a texture pattern the model should attempt, (4) Date clusters – dates hang in clusters below the frond crown; the model should show small round/oval shapes, (5) Scene context – a palm tree in a void is boring; a good model adds sky, sand/desert ground, or a sun, and (6) Scale and perspective – the trunk is tall and slender, the frond crown spreads wide at the top, creating a distinctive silhouette.

The goal is not to declare a winner – it is to give you the data so you can pick the best model for your own use case. We show you the SVG, the stats, and a short analysis for each. You decide.

How to Choose the Best Ollama Model for Dates Palm Tree SVGs

The dates palm tree prompt rewards different things than previous prompts. Here are the criteria to use:

  • Frond spiral arrangement: Do the fronds spiral around the crown at varying angles? Or are they all in a flat row?
  • Feather-like frond detail: Does each frond have a central rib with leaflets on both sides? Or is it just a flat leaf shape?
  • Trunk texture: Does the trunk show diamond leaf scars or texture? Or is it a plain rectangle?
  • Date clusters: Does it show clusters of dates hanging below the fronds?
  • Scene context: Is there a sky, sun, or desert ground? Or just the tree floating?
  • Overall silhouette: Does the tree have the distinctive palm silhouette (tall trunk, wide frond crown)?
  • SVG code quality: Does it use <use>, <defs>, and transforms to efficiently generate repeating leaflets?

How It Works

The script discovers all locally installed models via the Ollama API (/api/tags), then sends the identical prompt through the OpenAI-compatible endpoint (http://localhost:11434/v1/chat/completions). Each model’s response is parsed for an <svg>...</svg> block, and the extracted SVG is saved for rendering with minimal post-processing (adding width="100%" height="auto" for responsive embedding and fixing XML errors so the SVG renders in browsers).

Unlike our cloud model benchmarks, these models run entirely on the local GPU – no cloud subscription or network round-trip required. This means generation times reflect local hardware performance, and model sizes range from 1B to 31B parameters. Embedding, vision, and OCR models are automatically skipped.

Summary Table: Compare All Models at a Glance

Use this table to quickly compare models on the metrics that matter. The verdict column is a one-line summary to help you shortlist – but read the per-model sections below for the full picture before you decide.

# Model SVG Size Shapes Colors Complexity Verdict
1 deepseek-r1:1.5b 451 4 1 Compact Compact
2 deepseek-r1:7b 1599 7 2 Compact Compact
3 gemma3:1b-it-qat 817 3 1 Compact Compact
4 gemma3:4b 991 7 4 Compact Compact
5 gemma4:12b 1946 18 6 Compact Compact
6 gemma4:26b-a4b-it-qat 2114 24 8 Medium Balanced
7 jeffgreen311/Eve-V2-Unleashed-Qwen3.5-8B-Liberated-4K-4B-Merged:latest 1123 11 12 Compact Compact
8 lfm2.5:latest 614 5 2 Compact Compact
9 llama3.1:8b 856 6 2 Compact Compact
10 qwen2.5-coder-14b:latest 911 12 3 Compact Compact
11 qwen2.5-coder:7b 604 2 2 Compact Compact
12 qwen2.5:3b 206 0 0 Compact Compact
13 qwen2.5:7b 800 8 4 Compact Compact
14 qwen3.5:4b 1697 4 4 Compact Compact
15 qwen3.5:9b 1313 7 0 Compact Compact
16 qwen3:14b 1442 13 3 Compact Compact
17 qwen3:8b 844 6 2 Compact Compact
18 cieloforge/qwen2.5-14B-instruct-spec:latest - - - - Failed
19 gemma4:31b-it-qat - - - - Failed
20 gemma4:latest - - - - Failed
21 kwangsuklee/Qwen3.5-9B.Q4_K_M-Claude-4.6-Opus-Reasoning-Distilled-v2:latest - - - - Failed
22 qwen3.5:latest - - - - Failed
23 SetneufPT/Qwen3.6-27B-MTP_Q3_32K_16GB-GPU:latest - - - - Failed
24 SetneufPT/Qwen3.6-27B.MTP_Q3_32K_16GB-GPU:latest - - - - Failed
25 VladimirGav/Qwen3.6-27B-16GB-VRAM-Uncensored:latest - - - - Failed

17 out of 25 models produced a valid SVG. The 8 that failed either returned an error or did not include a valid <svg>...</svg> block in their response.

Quick Recommendation by Use Case

If you just want a shortcut, here is which model to pick based on what you care about:

  • You want the most accurate spiral frond arrangement: look for models whose SVG shows fronds at varying angles around the crown
  • You want detailed feather-like fronds with leaflets: check the per-model analysis for leaflet detail
  • You want trunk texture (diamond leaf scars): look for models that rendered a textured trunk pattern
  • You want a complete scene with sky and ground: check the per-model analysis for scene context
  • You want the most detailed palm tree: pick models labeled “Very high” complexity in the table above
  • You want a balance of detail and speed: pick models labeled “Balanced” or “Detailed”

Now read on for the full per-model breakdown and judge for yourself.

1. deepseek-r1:1.5b

SVG size: 451 characters
Complexity: Compact
Shape elements: 4
Distinct colors: 1
Raw response: 1310 characters
Generation time: 47.8s

deepseek-r1:1.5b dates palm tree SVG

Analysis

This SVG contains approximately 4 shape elements and uses 1 distinct colors.

Notable SVG techniques used:

  • Uses standard SVG primitives (rect, circle, path, polygon) to compose the scene

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml DATE Palm ```

2. deepseek-r1:7b

SVG size: 1599 characters
Complexity: Compact
Shape elements: 7
Distinct colors: 2
Raw response: 2450 characters
Generation time: 35.9s

deepseek-r1:7b dates palm tree SVG

Analysis

This SVG contains approximately 7 shape elements and uses 2 distinct colors.

Notable SVG techniques used:

  • Uses transforms (translate, rotate, scale) for precise positioning and rotation
  • Contains XML comments, showing the model’s internal documentation of its work

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml <translate(3) polygon points="236,423 229,380 233,437" fill="#4cc356" stroke="none"/> <translate(10) polygon points="257,335 224,310 235,355" fill="#4cc356" stroke="none"/> <translate(2) polygon points="216,429 209,380 220,454" fill="#4cc356" stroke="none"/> <translate(7) polygon points="237,390 232,370 248,396" fill="#4cc356" stroke="none"/> DATES PALM <translate(1) polygon points="50,480 39,430 63,460" fill="#4cc356" stroke="none"/> <translate(8) polygon points="239,500 203,460 276,507" fill="#4cc356" stroke="none"/> ```

3. gemma3:1b-it-qat

SVG size: 817 characters
Complexity: Compact
Shape elements: 3
Distinct colors: 1
Raw response: 3270 characters
Generation time: 53.8s

gemma3:1b-it-qat dates palm tree SVG

Analysis

This SVG contains approximately 3 shape elements and uses 1 distinct colors.

Notable SVG techniques used:

  • Uses transforms (translate, rotate, scale) for precise positioning and rotation
  • Uses Bezier curves (C, Q, A path commands) for smooth organic shapes
  • Contains XML comments, showing the model’s internal documentation of its work

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml <rect x="30" y="60" width="10" height="40" fill="#d9aefc”/> <circle cx="100" cy="80" r="15" fill="#d9aefc”/> ```

4. gemma3:4b

SVG size: 991 characters
Complexity: Compact
Shape elements: 7
Distinct colors: 4
Raw response: 4663 characters
Generation time: 86.2s

gemma3:4b dates palm tree SVG

Analysis

This SVG contains approximately 7 shape elements and uses 4 distinct colors.

Notable SVG techniques used:

  • Uses Bezier curves (C, Q, A path commands) for smooth organic shapes
  • Contains XML comments, showing the model’s internal documentation of its work

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml ```

5. gemma4:12b

SVG size: 1946 characters
Complexity: Compact
Shape elements: 18
Distinct colors: 6
Raw response: 2974 characters
Generation time: 130.6s

gemma4:12b dates palm tree SVG

Analysis

This SVG contains approximately 18 shape elements and uses 6 distinct colors.

Notable SVG techniques used:

  • Uses Bezier curves (C, Q, A path commands) for smooth organic shapes
  • Contains XML comments, showing the model’s internal documentation of its work

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml ```

6. gemma4:26b-a4b-it-qat

SVG size: 2114 characters
Complexity: Medium
Shape elements: 24
Distinct colors: 8
Raw response: 3133 characters
Generation time: 282.2s

gemma4:26b-a4b-it-qat dates palm tree SVG

Analysis

This SVG contains approximately 24 shape elements and uses 8 distinct colors.

Notable SVG techniques used:

  • Uses Bezier curves (C, Q, A path commands) for smooth organic shapes
  • Contains XML comments, showing the model’s internal documentation of its work

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml ```

7. jeffgreen311/Eve-V2-Unleashed-Qwen3.5-8B-Liberated-4K-4B-Merged:latest

SVG size: 1123 characters
Complexity: Compact
Shape elements: 11
Distinct colors: 12
Raw response: 1757 characters
Generation time: 599.5s

jeffgreen311/Eve-V2-Unleashed-Qwen3.5-8B-Liberated-4K-4B-Merged:latest dates palm tree SVG

Analysis

This SVG contains approximately 11 shape elements and uses 12 distinct colors.

Notable SVG techniques used:

  • Uses Bezier curves (C, Q, A path commands) for smooth organic shapes
  • Contains XML comments, showing the model’s internal documentation of its work

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml ```

8. lfm2.5:latest

SVG size: 614 characters
Complexity: Compact
Shape elements: 5
Distinct colors: 2
Raw response: 1300 characters
Generation time: 382.3s

lfm2.5:latest dates palm tree SVG

Analysis

This SVG contains approximately 5 shape elements and uses 2 distinct colors.

Notable SVG techniques used:

  • Uses transforms (translate, rotate, scale) for precise positioning and rotation
  • Contains XML comments, showing the model’s internal documentation of its work

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml ```

9. llama3.1:8b

SVG size: 856 characters
Complexity: Compact
Shape elements: 6
Distinct colors: 2
Raw response: 1481 characters
Generation time: 127.1s

llama3.1:8b dates palm tree SVG

Analysis

This SVG contains approximately 6 shape elements and uses 2 distinct colors.

Notable SVG techniques used:

  • Uses Bezier curves (C, Q, A path commands) for smooth organic shapes
  • Contains XML comments, showing the model’s internal documentation of its work

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml ```

10. qwen2.5-coder-14b:latest

SVG size: 911 characters
Complexity: Compact
Shape elements: 12
Distinct colors: 3
Raw response: 1288 characters
Generation time: 155.4s

qwen2.5-coder-14b:latest dates palm tree SVG

Analysis

This SVG contains approximately 12 shape elements and uses 3 distinct colors.

Notable SVG techniques used:

  • Uses Bezier curves (C, Q, A path commands) for smooth organic shapes
  • Contains XML comments, showing the model’s internal documentation of its work

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml ```

11. qwen2.5-coder:7b

SVG size: 604 characters
Complexity: Compact
Shape elements: 2
Distinct colors: 2
Raw response: 975 characters
Generation time: 138.4s

qwen2.5-coder:7b dates palm tree SVG

Analysis

This SVG contains approximately 2 shape elements and uses 2 distinct colors.

Notable SVG techniques used:

  • Uses <defs> blocks for reusable components (a sign of well-structured, editable SVG)
  • Uses <use> references to reuse defined elements – ideal for repeating motifs like seeds, scales, or leaflets
  • Uses transforms (translate, rotate, scale) for precise positioning and rotation
  • Uses Bezier curves (C, Q, A path commands) for smooth organic shapes
  • Contains XML comments, showing the model’s internal documentation of its work

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml ```

12. qwen2.5:3b

SVG size: 206 characters
Complexity: Compact
Shape elements: 0
Distinct colors: 0
Raw response: 2421 characters
Generation time: 131.2s

qwen2.5:3b dates palm tree SVG

Analysis

This SVG contains approximately 0 shape elements and uses 0 distinct colors.

Notable SVG techniques used:

  • Contains XML comments, showing the model’s internal documentation of its work

This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.

View raw SVG source ```xml ` tag**: ```xml ``` </details> ## 13. `qwen2.5:7b` **SVG size:** 800 characters **Complexity:** Compact **Shape elements:** 8 **Distinct colors:** 4 **Raw response:** 2094 characters **Generation time:** 139.6s ![qwen2.5:7b dates palm tree SVG](/assets/img/diagrams/ollama-svg-dates-palm/qwen2.5_7b.svg) ### Analysis This SVG contains approximately **8 shape elements** and uses **4 distinct colors**. **Notable SVG techniques used:** - Contains XML comments, showing the model's internal documentation of its work This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.
View raw SVG source ```xml ```
## 14. `qwen3.5:4b` **SVG size:** 1697 characters **Complexity:** Compact **Shape elements:** 4 **Distinct colors:** 4 **Raw response:** 2924 characters **Generation time:** 141.0s ![qwen3.5:4b dates palm tree SVG](/assets/img/diagrams/ollama-svg-dates-palm/qwen3.5_4b.svg) ### Analysis This SVG contains approximately **4 shape elements** and uses **4 distinct colors**. **Notable SVG techniques used:** - Uses `` blocks for reusable components (a sign of well-structured, editable SVG) - Includes gradient fills for richer visual depth - Uses transforms (translate, rotate, scale) for precise positioning and rotation - Includes animation elements -- the model attempted motion - Uses Bezier curves (`C`, `Q`, `A` path commands) for smooth organic shapes - Contains XML comments, showing the model's internal documentation of its work This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.
View raw SVG source ```xml /* darker */ <animate attributeName="stroke-opacity"dur="0.2s"/> </g> </def>` <circle cx=194 x=-2 y="+5.2" />y+30.8 stroke="#7B6EAC" fill-colors ``` </details> ## 15. `qwen3.5:9b` **SVG size:** 1313 characters **Complexity:** Compact **Shape elements:** 7 **Distinct colors:** 0 **Raw response:** 3769 characters **Generation time:** 191.2s ![qwen3.5:9b dates palm tree SVG](/assets/img/diagrams/ollama-svg-dates-palm/qwen3.5_9b.svg) ### Analysis This SVG contains approximately **7 shape elements** and uses **0 distinct colors**. **Notable SVG techniques used:** - Uses Bezier curves (`C`, `Q`, `A` path commands) for smooth organic shapes - Contains XML comments, showing the model's internal documentation of its work This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.
View raw SVG source ```xml ```
## 16. `qwen3:14b` **SVG size:** 1442 characters **Complexity:** Compact **Shape elements:** 13 **Distinct colors:** 3 **Raw response:** 2407 characters **Generation time:** 442.1s ![qwen3:14b dates palm tree SVG](/assets/img/diagrams/ollama-svg-dates-palm/qwen3_14b.svg) ### Analysis This SVG contains approximately **13 shape elements** and uses **3 distinct colors**. **Notable SVG techniques used:** - Uses Bezier curves (`C`, `Q`, `A` path commands) for smooth organic shapes - Contains XML comments, showing the model's internal documentation of its work This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.
View raw SVG source ```xml ```
## 17. `qwen3:8b` **SVG size:** 844 characters **Complexity:** Compact **Shape elements:** 6 **Distinct colors:** 2 **Raw response:** 1684 characters **Generation time:** 555.1s ![qwen3:8b dates palm tree SVG](/assets/img/diagrams/ollama-svg-dates-palm/qwen3_8b.svg) ### Analysis This SVG contains approximately **6 shape elements** and uses **2 distinct colors**. **Notable SVG techniques used:** - Contains XML comments, showing the model's internal documentation of its work This is a compact SVG (under 5,000 characters) that uses minimal markup to convey the scene. The model prioritized efficiency and simplicity over elaborate detail.
View raw SVG source ```xml ```
## Failed Models The following 8 models did not produce a valid SVG (either returned an error or the response did not contain a parseable `...` block): - `cieloforge/qwen2.5-14B-instruct-spec:latest` -- no SVG block in response - `gemma4:31b-it-qat` -- TimeoutError: timed out - `gemma4:latest` -- TimeoutError: timed out - `kwangsuklee/Qwen3.5-9B.Q4_K_M-Claude-4.6-Opus-Reasoning-Distilled-v2:latest` -- no SVG block in response - `qwen3.5:latest` -- no SVG block in response - `SetneufPT/Qwen3.6-27B-MTP_Q3_32K_16GB-GPU:latest` -- TimeoutError: timed out - `SetneufPT/Qwen3.6-27B.MTP_Q3_32K_16GB-GPU:latest` -- TimeoutError: timed out - `VladimirGav/Qwen3.6-27B-16GB-VRAM-Uncensored:latest` -- TimeoutError: timed out ## Conclusion We asked 25 Ollama local models to draw **a dates palm tree** -- a subject deeply connected to Fibonacci mathematics. The results reveal each model's natural instinct for mathematical patterns, organic curves, and natural color palettes. **Key takeaways:** - **Mathematical intuition varies widely**: some models attempted Fibonacci spiral arrangements naturally, while others defaulted to simple grids or flat shapes. The models that attempted spirals demonstrate a deeper understanding of natural geometry. - **Detail and file size trade-off**: models that produced the richest scenes (Very high complexity) also generated the largest SVG files. For web embedding, "Balanced" or "Detailed" models may be more practical. - **Color palettes differ dramatically**: some models used sophisticated gradients and 15+ distinct colors, while others used as few as 4 flat colors. More colors generally means a more lifelike result. - **Code structure quality varies**: the best models used ``, ``, and `` elements to efficiently generate repeating structures (seeds, scales, leaflets). This is a strong signal of model capability for practical SVG work. - **No single model is best at everything**: the "right" model depends on whether you prioritize mathematical accuracy, visual beauty, file size, or code quality. **Try it yourself**: run the benchmark script with your own prompt and see how the models perform on your specific use case. The full code is available in the [ollama-svg-benchmark repository](https://github.com/py2ai/ollama-svg-benchmark). --- *Which model do you think drew the best dates palm tree? Let us know in the comments below!*
Watch PyShine on YouTube

Contents